package cn.tedu.ems.pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * 该DTO封装了教师修改的所有信息
 */
@Data
public class TeacherUpdateDTO {
    private String name;
    private Integer age;
    private String gender;
    private String address;
    private String number;
    private String seniority;
    private String courseName;
    private String grade;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")//指定时间呈现格式和时区GMT+8东八区
    private Date created;
    private String level;
    private String url;
    private Long courseId;
}
